home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir41
/
x10xa200.zip
/
XA.INI
< prev
next >
Wrap
Text File
|
1993-10-16
|
8KB
|
174 lines
DISPLAY OFF # Don't need to display this on the screen
#
# ┌─────────────────────────────────────────────────────────────────┐
# │ │
# │ XA - X10 Command Interpreter for the CP-290 - Version 2.00 │
# │ Copyright 1992-93 by Bruce Christensen. All Rights Reserved. │
# │ │
# │ XA.INI - This file contains information that defines XA's │
# │ run-time environment parameters. │
# │ │
# └─────────────────────────────────────────────────────────────────┘
#
#──────────────────────────────────────────────────────────────────────────────
#
# XACMD Use this token to specify the default command file
# that XA will use each time it is run without command
# line parameters.
#
# SPECIAL NOTE: If this token is not used, and no
# command file is specified, XA will display the
# help file instead. This is the default condition.
#
# XACMD XA.CMD # XACMD has been "commented out"
#
#──────────────────────────────────────────────────────────────────────────────
#
# COMx The serial communications port you will be using
# to talk to the computer interface.
# Choices: COM1 (default), COM2, COM3, and COM4.
COM1
# IRQ x Use these tokens if your serial port is not configured
# IO xxxH as a "standard" port. The following table lists the
# most common assignments for IRQ's and IO port
# addresses:
# COM IRQ IO
# ==========================
# 1 4 3F8H (hex)
# 2 3 2F8H
# 3 4 * 3E8H
# 4 3 * 2E8H
#
#
# Since COM1 and COM3 (as well as COM2 and COM4) share
# the same IRQ's, a conflict will arise if active
# devices are attached to these ports. You must re-
# assign IRQ's so to avoid a potential deadlock. A
# serial port may be reconfigured either during your
# computers boot phase (BIOS setup/diagnostics) or
# by changing a DIP switch on the serial card or PC
# motherboard. When you changed the IRQ, tell XA by
# using the IRQ x command.
#
#
# Use the utility FINDX10.EXE to assist you in
# determining the IRQ and IO values.
#
# IRQ 5
#
#──────────────────────────────────────────────────────────────────────────────
#
# LATITUDE You must use this command for accurate
# sunrise/sunset calculations. Positive values
# are used in the northern hemisphere, negative
# values for the southern hemisphere.
# LONGITUDE You must use this command for accurate
# sunrise/sunset calculations. Positive values
# are used west of Greenwich, negative
# east of Greenwich.
# These values may be obtained from almost any
# almanac, or consult your nearest library.
# For Mentor, OH:
# Latitude = 41°35'
# Longitude = 81°20'
#
# These values must be expressed as follows:
# 41d35m and 81d20m (or 41°35' / 81°20')
LATITUDE 41°35'
LONGITUDE 81°20'
#
#──────────────────────────────────────────────────────────────────────────────
#
# TIMEZONE Exact time calculations depend on the local time.
# Use the following chart to determine your timezone:
# Zone Use
# ==================== =========
# Eastern Standard Time: 5
# Central Standard Time: 6
# Mountain Standard Time: 7
# Pacific Standard Time: 8
# Alaska/Hawaii Std Time: 10
# Aleutian Standard Time: 11
#
# DST Automatically adjust Sunrise/Sunset calculations.
# Do not use this if your locality does not observe
# Daylight Savings Time.
TIMEZONE 5 DST
#
#──────────────────────────────────────────────────────────────────────────────
#
# VIDEO1 - Text attributes when IF/ELSE expression evaluates TRUE.
# VIDEO2 - Text attributes when IF/ELSE expression evaluates FALSE.
# VIDEO3 - Text attributes when executing DIRECT command.
# VIDEO4 - Text attributes when sending an EVENT.
#
# The following tokens are not activated for the SHAREWARE version...
# VIDEO1 GREEN BLACK # For TRUE expressions
# VIDEO2 RED BLACK # For FALSE expressions
# VIDEO3 CYAN BLACK # For DIRECT COMMANDS
# VIDEO4 CYAN BLACK # For EVENTS
#
#──────────────────────────────────────────────────────────────────────────────
#
# DEFINES Are used to substitute several identifiers.
# They help make the commands more understandable.
# If you use the X10DAT token to create the X10.EXE
# compatible data file, then the order that HOUSE/UNIT
# defines are listed here is the order in which they
# will appear when you run X10.EXE.
define Deck_Lights_1 house a unit 1
define Entrance_Chandelier house a unit 2
define Bedroom_Light house a unit 3
define Family_Room_Lamp house a unit 4
define Stairs house a unit 6
define Fireplace_Mantle house a unit 7
define Living_Room_Lamp house a unit 8
define Outside_Porch_Lights house a unit 9
define Dehumidifier house b unit 2
define Computer house c unit 1
define Den house c unit 2
define Phone house c unit 3
define Hallway house h unit 1
# Christmas Lights - each color connected to its own dimmer
# Note: You don't have to use HOUSE x UNIT y as shown above.
# That is only useful during monitoring and report generation.
# You can perform simple substitution with just the letter/numbers:
DEFINE XMAS_RED E5
DEFINE XMAS_GREEN F5
DEFINE XMAS_BLUE I5
DEFINE XMAS_WHITE H5
# Other useful defines...
DEFINE DUSK SUNSET OFFSET 0:30
DEFINE DAWN SUNRISE OFFSET -0:30
DEFINE DAILY EVERYDAY
DEFINE @ TIME
DEFINE ~ SECURITY
DEFINE FADE DIM 0
DEFINE BRIGHT DIM 100
DEFINE SCHOOL_NIGHTS SUN MON TUE WED THU
IGNORE DEHUMIDIFIER # Ignore state during power-fail recovery
IGNORE COMPUTER
DISPLAY ON # End of XA.INI. Turn display back on.